TargetCarbon Constant

Used to indicate that you are compiling Carbon code.

result=TargetCarbon

PartTypeDescription
result Boolean Returns True if are compiling Carbon code, either as a standalone application or within REALbasic.


Notes

The Carbon version of REALbasic compiles as Carbon while running in the IDE.

TargetMacOSClassic, and TargetCarbon are mutually exclusive subsets of TargetMacOS. TargetCarbon is True if you are compiling for Macintosh in either the PEF or MachO formats. TargetMacOSClassic is True only if PPC code is running on a PowerPC under a 'classic' Mac OS.


See Also

DebugBuild, RBVersion, RBVersionString, TargetBigEndian, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMacOSClassic, TargetMachO, TargetWin32 constants; #If statement.